package com.ct.service.client;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.ct.entity.po.Travel;

@FeignClient(name = "travel-service", contextId = "approval-service-travel-client")
public interface TravelClient {
    @RequestMapping(value = "/travel/getAllTravelsByIdList", method = RequestMethod.POST)
    List<Travel> getAllTravelsByIdList(@RequestBody List<Integer> travelIdList);
}
